﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Pahan.McuFusion.Files
{
    /// <summary>
    /// The interface for file readers.
    /// </summary>
    public interface IFileReader : IDisposable
    {
        /// <summary>
        /// Gets the default value. This value will be read if file has no information
        /// about the address being read.
        /// </summary>
        byte DefaultValue
        {
            get;
            set;
        }

        /// <summary>
        /// Reads the content of the file.
        /// </summary>
        IList<byte> ReadAll();
    }
}
